<extend name="Base/common"/>
<block name="style">
<link href="__CSS__/lyz.calendar.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.body{
	width: 100%;
	height: 100%;
	background: #f5f4f9;
	position: relative;
}
	




	.bottom{
		float: left;
		margin-left: 4.5%;
		margin-top: 8%;
		width: 41.5%;
		height: auto;
		background: none;
		font-size: 13px;
		text-align: center;
		color: #a4a3df;


	}
	.bottom img{
		display: block;
		margin: auto;
		width: 35px;
		height: 35px;
		margin-bottom: 4%;

	}

	p{
		width: 100%;
		height: 40px;
		float: left;
		padding-left:5%;
		
		border-bottom: 1px solid #ccc;
		background: #fff;
 

	}
	#code{
		display: block;
		margin:auto;
		width: 180px;
		height: 180px;
		border-radius: 5px 5px ;
		overflow: hidden;
		/*margin-top: 5%;*/
	}

	img{
		display: block;
		margin:auto;
		width: 170px;
		height: 170px;
		border-radius: 5px 5px ;
		/*margin-top: 5%;*/
	}

	

</style>
</block>
<block name="body">
	<div class="body">
		<div style="background: #fff;width: 100%;">
			<label>
				<p class="change_erwm" style="background: #fff url(__IMG__/you.png) no-repeat 95%;background-size: 9px 70px;">
					<select style="width:100%;height:38px;font-size: 16px;line-height: 40px;color: #000;background: #fff url(__IMG__/you.png) no-repeat 95%;background-size: 9px 70px;">
						<option value="1" <if condition="$type eq 1">selected</if>>自动结算码</option>
						<option value="2" <if condition="$type eq 2">selected</if>>手动结算码</option>
					</select>
				</p>
			</label>
			<p style="line-height:40px;">店铺名<font style="float:right;margin-right:5%;font-size:14px;color:#42a4dc;line-height:40px;">{$one.shop_name}</font></p>
			<div style="clear:both"></div>
		</div>
		

		<div style="height:auto;background:#fff;margin-top:15px;padding-top:30px">
			<div id="erwm" style="width:57%;margin-left:21.5%;height:250px;background:#42a4dc;border-radius: 2px 2px ;">
				<span style="display:block;text-align:center;color:#fff;height:40px;line-height:40px;font-size:18px;">支付宝扫一扫</span>

				<div id="code">
					<img  src="{:U('Admin/Public/qrcode?type=8&url='.$url)}" >
				</div>
				


			</div>

			<p style="height:50px;line-height:50px;text-align:center;border:none">截屏保存到相册</p>
			<!-- <a class="down login-btn" href="" download="downImg">保存到相册</a> -->

		
		</div>



</div>
		

</block>




<block name="script">


	<script type="text/javascript">
	$('.change_erwm select').change(function(){
		var val=$(this).val()
		location.href="{:U('erwm?type')}"+val;

	})


	</script>

	
</block>